package model

import (
	"time"
)

type TrainC2cTicketOutRecord struct {
	Id              int       `xorm:"not null pk autoincr INT(10)"`
	OrderId         int       `xorm:"not null default 0 index INT(11)"`
	MemberId        int       `xorm:"not null default 0 index INT(11)"`
	Username        string    `xorm:"not null default '' VARCHAR(50)"`
	Password        string    `xorm:"not null default '' VARCHAR(50)"`
	TicketOutStatus int       `xorm:"not null default 0 TINYINT(4)"`
	ErrorCode       string    `xorm:"not null default '' VARCHAR(20)"`
	ErrorMsg        string    `xorm:"not null default '' VARCHAR(50)"`
	CreateTime      time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
	UpdateTime      time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
